<?php
  session_start();
 include_once ("Login/databaseconnection.php");
 $current_table="deleted_exam";
  $School_Id=$_GET['School_Id'];
   $Exam_Name=$_GET['Exam_Name'];
$Subject=$_GET['Subject'];
   $Year=$_GET['Year'];
   	$resultdel=mysql_query("DELETE FROM deleted_exam WHERE Exam_Name='$Exam_Name' AND year='$Year' AND School_Id='$School_Id' AND Subject='$Subject'");
if($resultdel)
{
	 $_SESSION['error']="Successfully removed!";
}
if(!$resultdel)
{
	 $_SESSION['error']="Sorry,an error occured  please try again!";
}
	
 ?>